const {ccclass, property, inspector} = cc._decorator;

@ccclass
@inspector("packages://autoproperty/inspector.js")
export default class NewClass extends cc.Component {
	view:fgui.Window;
	win_param:any;

	onLoad(){
		console.log('win_dress init',this.win_param);
		if(this.win_param)
		{
			this.show(this.win_param)
		}
		else
		{
			this.show();
		}
	}

	/**
	 * 
	 * @param win_param 
	 */
	show(win_param?:any)
	{
		orc.log('win_dress show');
	}

  	update(){
  	
  	}

}
